//package com.example.springboottemplate.Config.Netty;
//import io.netty.channel.ChannelInitializer;
//import io.netty.channel.socket.SocketChannel;
//import org.springframework.stereotype.Component;
//
//
//@Component
//public class NettyServerInitializer extends ChannelInitializer<SocketChannel> {
//    @Override
//    protected void initChannel(SocketChannel ch) throws Exception {
//        // 添加你的自定义 ChannelHandler
//        ch.pipeline().addLast(new YourCustomChannelHandler());
//    }
//}
